package com.example.vo.user;

import com.example.dto.business.UserBusinessDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @author Lexin Huang
 * @since 2.0
 */
@ApiModel("用户登录注册响应数据")
@Data
@ToString
public class UserLoginRegisterRequestVO {
    @ApiModelProperty("用户令牌")
    private String token;

    @ApiModelProperty("用户信息")
    private UserBusinessDTO user;

    public UserLoginRegisterRequestVO(String token, UserBusinessDTO user) {
        this.token = token;
        this.user = user;
    }
}
